//
//  UIColor+Extension.swift
//  SJWeiboSwift
//
//  Created by app;e on 15/10/9.
//  Copyright © 2015年 world. All rights reserved.
//

import UIKit

extension UIColor {
    class func randomColor()->UIColor {
        
        return UIColor(red:randomNum(), green: randomNum(), blue: randomNum(), alpha: 1)
    }
    
   private class func randomNum()->CGFloat{
        return CGFloat((random()%255))/255
    }
}
